import { onHandleInput } from './input-rule.js'
import richDirective from './rich-text.js'

// 全局注册 directive
export function setupDirective (app) {
  // inout的输入校验
  app.directive('input-rule', onHandleInput)
  app.directive('rich', richDirective)
}
